package com.caojing.haolemai.ui.product;

import com.caojing.haolemai.base.IBaseModel;
import com.caojing.haolemai.base.IBasePresenter;
import com.caojing.haolemai.base.IBaseView;
import com.caojing.haolemai.bean.ProductBean;
import com.caojing.haolemai.httputils.HttpUtils;

/**
 * Created by CaoJing on 2016/10/21.
 */
public class ProductContract {
    public interface Model extends IBaseModel{
        void getProduct(String path, HttpUtils.HttpCallBack<ProductBean> productBeanHttpCallBack);
    }
    public interface View extends IBaseView{
        void onSuccessGetProduct(ProductBean productBean);
        void onFailGetProduct(String msg);
    }
    public interface Presenter extends IBasePresenter{
        void initData(String path);
    }
}
